package com.qf.chat.controller;


import com.qf.chat.commons.base.BaseController;
import com.qf.chat.commons.r.R;
import com.qf.chat.service.FriendRelationService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 好友关系(FriendRelation)表控制层
 *
 * @author makejava
 * @since 2024-01-12 10:47:51
 */
@RestController
@RequestMapping("/friendRelation")
public class FriendRelationController extends BaseController<FriendRelationService> {

    @GetMapping("/friendList")
    public R friendList(){
        return R.succ(getBaseService().queryMyFriends());
    }
}

